package ooday01.homework4;

public class Car {
    String brand;
    String color;
    double price;
    Car(){

    }
    Car(String brand,String color,double price){
        this.brand=brand;
        this.color=color;
        this.price=price;


    }
    void start(){
        System.out.println(price+"万的"+color+brand+"车启飞了");
    }
    void  run(){
        System.out.println(price+"万的"+color+brand+"车跑得飞起");
    }
    void stop(){
        System.out.println(price+"万的"+color+brand+"车停不下来了");
    }
}
